package cn.virens.cmpt.server.channel;

import java.net.SocketAddress;

import cn.virens.cmpt.server.listener.DataDecoder;
import cn.virens.cmpt.server.listener.DataEncoder;
import cn.virens.cmpt.server.listener.DataErrorListener;
import cn.virens.cmpt.server.listener.DataHandlerListener;
import cn.virens.cmpt.server.listener.DataReadListener;
import cn.virens.cmpt.server.listener.DataWriteListener;

public interface Channel {

	String getUid();

	boolean isOpen();

	boolean isRemove();

	DataEncoder getDataEncoder();

	DataDecoder getDataDecoder();

	SocketAddress getAddress();

	DataReadListener getDataReadListener();

	DataErrorListener getDataErrorListener();

	DataWriteListener getDataWriteListener();

	DataHandlerListener getDataHandlerListener();
}
